package com.yuju.account.dao.mapper;

import com.yuju.account.dao.entity.Shift;
import com.yuju.account.model.ShiftAccountModel;
import com.yuju.account.model.ShiftModel;
import com.yuju.persist.base.mapper.BaseMapper;
import java.util.List;
import java.util.Map;

public interface ShiftMapper extends BaseMapper<Shift, String> {
    int deleteByPrimaryKey(String id);

    int selectCountByMap(Map<Object, Object> map);

    List<Shift> selectListByMap(Map<Object, Object> map);

    int insert(Shift record);

    int insertSelective(Shift record);

    Shift selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Shift record);

    int updateByPrimaryKey(Shift record);

    List<Shift> getCurrentShift(Shift shift);

    int insertShiftInfo(Shift shift);

    List<ShiftModel> queryShiftInfo(ShiftModel shift);

    List<ShiftAccountModel> queryShiftAccountInfo(ShiftAccountModel shiftAccountModel);

    ShiftModel getPreviousShift(ShiftModel shiftModel);

    List<ShiftModel> getShiftBaseInfo(ShiftModel shiftModel);
}